'Declaration Public Overloads Shared Function RasterizeGraphicsPath( _
ByVal pathThe graphics path to rasterize.As Vintasoft.Imaging.Drawing.IGraphicsPath, _
ByVal clipRegionA clip region.As Vintasoft.Imaging.Drawing.IRegion, _
ByVal deviceWidthA device width.As System.Int32, _
ByVal deviceHeightA device height.As System.Int32, _
ByVal useAntiAliasA value indicating whether anti-aliasing must be used.As Boolean, _
ByVal imageDataPixelFormatPixel format of image data.As Vintasoft.Imaging.PixelFormat, _
ByRef imageDataThe rasterized image data.() As Byte, _
ByRef imageDataRectThe rectangle that contains rasterized image data.As System.Drawing.Rectangle _
) As Boolean
public static bool RasterizeGraphicsPath(
Vintasoft.Imaging.Drawing.IGraphicsPath path,
Vintasoft.Imaging.Drawing.IRegion clipRegion,
System.Int32 deviceWidth,
System.Int32 deviceHeight,
bool useAntiAlias,
Vintasoft.Imaging.PixelFormat imageDataPixelFormat,
out byte[] imageData,
out System.Drawing.Rectangle imageDataRect
)
public: static bool RasterizeGraphicsPath(
Vintasoft.Imaging.Drawing.IGraphicsPath* path,
Vintasoft.Imaging.Drawing.IRegion* clipRegion,
System.Int32 deviceWidth,
System.Int32 deviceHeight,
bool useAntiAlias,
Vintasoft.Imaging.PixelFormat imageDataPixelFormat,
[PARAMFLAG::Out] byte[]* imageData,
[PARAMFLAG::Out] System.Drawing.Rectangle* imageDataRect
)
public:
static bool RasterizeGraphicsPath(
Vintasoft.Imaging.Drawing.IGraphicsPath^ path,
Vintasoft.Imaging.Drawing.IRegion^ clipRegion,
System.Int32 deviceWidth,
System.Int32 deviceHeight,
bool useAntiAlias,
Vintasoft.Imaging.PixelFormat imageDataPixelFormat,
[Out] array<byte>^ imageData,
[Out] System.Drawing.Rectangle^ imageDataRect
)
Parameters
- path
- The graphics path to rasterize.
- clipRegion
- A clip region.
- deviceWidth
- A device width.
- deviceHeight
- A device height.
- useAntiAlias
- A value indicating whether anti-aliasing must be used.
- imageDataPixelFormat
- Pixel format of image data.
- imageData
- The rasterized image data.
- imageDataRect
- The rectangle that contains rasterized image data.
Return Value
True if IGraphicsPath is rasterized;
false if intersection of clip region, device size and path bound box is empty.
false if intersection of clip region, device size and path bound box is empty.